package com.crm.service.impl.sys.permissionManagement;

import com.crm.dao.mapper.sys.permissionManagement.SysInfoMapper;
import com.crm.model.entity.sys.permissionManagement.SysInfo;
import com.crm.service.sys.permissionManagement.SysDbService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author luojie
 * @date 2020/9/25 10:09
 */
@Service
public class SysDbServiceImpl implements SysDbService {

    @Autowired
    SysInfoMapper sysInfoMapper;

    @Override
    public SysInfo selectSysInfoBySysId(String sytId) {
        SysInfo sysInfo = sysInfoMapper.selectByPrimaryKey(sytId);
        return sysInfo;
    }
}
